﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Manage_Service_getStudent : ManagePageBase {

    protected List<Exam.Core.Model.Student> list = new List<Exam.Core.Model.Student>();

    int deptid = 0;//部门ID

    protected void Page_Load(object sender, EventArgs e) {
        if (Request.QueryString["deptid"] != null && Request.QueryString["deptid"].Trim() != "") {
            deptid = int.Parse(Request.QueryString["deptid"].Trim());
        }
        if(!IsPostBack) {
            list = new Exam.Core.DAL.Student().getStudentListByDeptId(deptid);
        }
    }
}
